<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<title>编辑员工</title>
</head>
<body>
  <fieldset>
    <s:form action="employee!modify" method="post" style="width: 260px">
      <legend>编辑员工信息</legend>
      <s:textfield label="员工id" readonly="true" name="employee.employeeId" />
      <s:textfield label="员工姓名" name="employee.employeeName" />
      <s:select label="员工性别" name="employee.sex" list="#{1:'男',0:'女'}" />
      <s:textfield label="员工电话" name="employee.telephone" />
      <s:select label="部门id" name="employee.departmentId" list="departments" listKey="departmentId"
        listValue="departmentName" />
      <s:submit value="修改" />
    </s:form>
  </fieldset>
</body>
</html>
